#ifndef NOTES_H
#define NOTES_H

#include <QTimer>
#include <QObject>
#include "const.h"
#include "structs.h"
//How to use:

class Note
{
 public:
  Note(int column, NOTE_TYPE i_type = INDIV);
  Note();
  ~Note() {};
  int getColumn() { return column; }
  int getY() { return y; }
  NOTE_TYPE getType() { return type;}
  void setType(NOTE_TYPE t) { type = t; }
  void setCol(int col) { column = col; }
  bool getActive() { return active; }
  void setActive(bool act) { active = act; }
  bool moveNote();
  bool outOfRange();
  void setIncorrect() {incorrect = true;}
  bool getIncorrect() {return incorrect;}
 protected:
  int column;
  bool active;
  bool incorrect;
  NOTE_TYPE type; //the type of note it is
  int y;
};

#endif

